<!DOCTYPE html>
<html lang="zh-CN">
	[#include "/theme/default/common/nav.html" /]
	[#include "/theme/default/common/head.html" /]
	[#include "/theme/default/common/footer.html" /]

	<style type="text/css" media="screen">
		.border {

			border: 1px solid #ddd;
			border-radius: 6px;
			padding-bottom: 20px;
		}

	</style>
	<head>
		[@head "个人资料" /]
		[#include "/theme/default/common/imagesimple.html" /]
	</head>
	<body>
		<div class="fakeloader"></div>

		[@nav  7 /]
		<!-- /.navbar -->

		<div class="container">

			<div class="row">

				<div class="col-xs-3 col-sm-3" id="sidebar">
					<div class="list-group">
						<a href="#" class="list-group-item active">个人资料</a>
						<a href="#"
						class="list-group-item">密码</a>
						<a href="#" class="list-group-item">朋友</a>
						<a href="#"
						class="list-group-item">我的股票</a><a href="#"
						class="list-group-item">隐私设置</a>
					</div>
				</div>
				<div class="col-xs-9 col-sm-9 border">
					<h1>个人资料</h1>
					<hr/>

					<form action="${siteurl}user/updateuser.htm" method="post">
						<input type="hidden" name="id" value="${user.id}" >
						<input type="hidden" name="headimg" value="${user.headimg!''}"  id="uploaderthumbpath">
						<div class="form-group">
							<label for="exampleInputEmail1">个人头像</label>
							<div>
								<div style="max-width: 100px;" id="fileListuploaderthumb" class="uploader-list">
									 [#if user.headimg??]
									<div class="file-item thumbnail upload-state-done" id="WU_FILE_0">
										<img src="${user.headimg}"><div class="info"></div>
									</div>
									[/#if]
								</div>
								<div id="uploaderthumb">
									选择图片
								</div>
							</div>
						</div>
						<div class="form-group">
							<label >昵称</label>
							<input type="text" name="name" value="${user.name!''}" class="form-control" placeholder="给自己起一个好听的名字吧">
						</div>
						<div class="form-group">
							<label >电子邮箱(email)</label>
							<input type="email" name="email" value="${user.email!''}" class="form-control" placeholder="你的电子邮箱，比如xx@qq.com">
						</div>
						<div class="form-group">
							<label >腾讯QQ</label>
							<input type="text" name="qq" value="${user.qq!''}" class="form-control" placeholder="你的qq号码">
						</div>
						<div class="form-group">
							<label>个性签名</label>
							<textarea class="form-control" name="introduction" rows="3">${user.introduction!''}</textarea>
						</div>
						<div class="form-group">
							<label >性別</label>
							<div>
								<label class="radio-inline">
									<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="男">
									男 </label>
								<label class="radio-inline">
									<input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="女">
									女 </label>
							</div>
						</div>
						<button type="submit" class="btn btn-default">
							提交
						</button>
					</form>
					<!--/row-->
				</div>
			</div>
			<!--/row-->

			<hr>
			[@footer /]

		</div>
		<!--/.container-->

		[@imagesimple "uploaderthumb" "fileListuploaderthumb" "uploaderthumbpath"][/@imagesimple]
	</body>
</html>
